package com.xueyi.aixihu.entity.generatedMapper;

import com.xueyi.aixihu.entity.po.DtNewsSort;
import com.xueyi.aixihu.entity.po.DtNewsSortExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DtNewsSortMapper {
    long countByExample(DtNewsSortExample example);

    int deleteByExample(DtNewsSortExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DtNewsSort record);

    int insertSelective(DtNewsSort record);

    List<DtNewsSort> selectByExample(DtNewsSortExample example);

    DtNewsSort selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DtNewsSort record, @Param("example") DtNewsSortExample example);

    int updateByExample(@Param("record") DtNewsSort record, @Param("example") DtNewsSortExample example);

    int updateByPrimaryKeySelective(DtNewsSort record);

    int updateByPrimaryKey(DtNewsSort record);
}